﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
                   assembly="ProgressTracker.Data"
                   namespace="ProgressTracker.Data.Entities">
  <class name="DayTask" table="Day_Task">
    <composite-id>
      <key-many-to-one name="Day" class="Day" column="DayId" />
      <key-many-to-one name="Task" class="Task" column="TaskId" />
    </composite-id>
    <property name="TaskComplete" column="Complete" type="boolean"/>
  </class>

</hibernate-mapping>